package com.tanhua.domain.mogo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * 推荐得分
 * @author liuyp
 * @date 2021/02/23
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document("publish_score")
public class PublishScore implements Serializable {
    /**主键值*/
    private ObjectId id;
    /**用户id*/
    private Long userId;
    /**动态id（圈子动态的pid字段值）*/
    private Long publishId;
    /**得分*/
    private Double score;
    /**时间*/
    private Long date;
}